package com.rdkl.printing.model;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * ${table.comment}
 *
 * @author ${author}
 * @since ${date}
 */
@Data
public class ${entity}{
/* TODO 插件Double统一转Integer 个别字段确实是Double的请自行设置*/

<#list table.fields as field>
    /**
     * ${field.comment}
     */
    private <#if field.columnType == "DOUBLE">Integer<#elseif field.columnType == "LOCAL_DATE_TIME">Date<#elseif field.columnType == "STRING">String<#else>${field.columnType}</#if> ${field.propertyName};

</#list>

}
